package com.speechb.modules.system.admin.service;

import com.speechb.modules.system.admin.entity.SysMenu;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author llj
 * @since 2019-10-03
 */
public interface ISysMenuService extends IService<SysMenu> {
    List<SysMenu> menus(String text);

    List<SysMenu> findListOfAdmin(String order, String search);

    List<SysMenu> searchSelect(String search);

    SysMenu findSortingByParentId(int parentId);

    int add(SysMenu sysMenu);

    int updateSysMenu(int id, String key_name, String content);
}
